<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
 <head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <%@ include file="/common/${sysEname}/include/common-base.jsp"%>
  <title>用户中心-${r'${titleName}'}</title>
</head>

<!-- Part 一、 以下是body主体内容的模块区域 -->
<body class="hold-transition ${r'${sysUserColor}'} sidebar-mini">
<div class="wrapper">

  <!-- top start -->
  <%@include file="/common/${sysEname}/top-user.jsp" %>
  <!-- top end -->
  <!-- left start -->
  <%@include file="/common/${sysEname}/left-user.jsp" %>
  <!-- left end-->

  <div class="content-wrapper">
    <!-- Main start -->
	<div class="content">

	<script>
		var clickMenu = "index";
		var id  = "${r'${loginUser.userId}'}"
		$(function () {

			var paramLoadData = {"pageName":"user-list","formName":"searchForm","uctUser.w_userId":id};
			$.ajax({
				url:common_info_url,
				dataType:'json',
				data:paramLoadData,
				type:'get',
				success:function(myData){
					console.log(myData);
					if(strUtil.isNull(myData.userType)){
						layer.alert("用户类型有误");
					}else{

					}
				}
			});

		});
	</script>

      <div class="panel">
	      <div class="panel-heading" style="display:none;">
	  		<div class="fx2">
	  			<i class="fa fa-volume-up"></i> 最新消息：
	  			<span class="fx2">
		  			<a href="#" class="ml10 gray">最新消息！</a>
	  			</span>
	  		</div>
	  	</div>
  	  <div class="panel-body">
          <!-- 1、账户基本信息 start-->
		  <div class="col-lg-6" >
			<div class="box box-solid" style="min-height:205px;">
              	<div class="box-body">
              		<div class="col-lg-3">
	                <p class="user_tx">
	                	<img id="picUrl" src="${r'${ctx}'}/images/plateform/person2.png" class="img-circle picUrl" style="width:90px;height:90px;" />
		     		</p>
	              </div>
	              <div class="col-lg-9 lh30">
	                 <p class="text-small">
					  <span><span class="f16" id="userCname" data-name="uctUser.userCname"></span>
					 </p>
						<p id="mobile" class="text-small">
							<span>手机号码：</span>
							<c:if test="${r'${empty loginUser.mobile}'}"><span style="color:red;">未绑定</span></c:if>
							<c:if test="${r'${!empty loginUser.mobile}'}">${r'${loginUser.mobile}'}</c:if>
						</p>
						<p class="text-small">
							<span>用户类型：</span>
							<c:if test='${r'${"customer"==loginUser.userType}'}'>
								<c:if test='${r'${"person"==loginUser.user.customerType}'}'>个人</c:if>
								<c:if test='${r'${"org"==loginUser.user.customerType}'}'>企业</c:if>
							</c:if>
							<c:if test='${r'${"customer"!=loginUser.userType}'}'>${r'${loginUser.userType}'}</c:if>
						</p>
	              </div>
              	</div>
             </div>
         </div>
     <!-- 账户基本信息 end-->

	<!-- 我的消息 start-->
		<div class="col-lg-6">
			<div class="box box-solid" style="min-height:205px;">
	          	<div class="box-header with-border">
               		<span class=" pull-left f16">我的消息 <small class="f12 label label-danger" id="my_message_num"></small></span>
	                <span class="box-tools pull-right"><a class="fx8" href="${r'${page_web}'}/user/my-message">查看更多</a></span>
	                <form id="noticeForm" name="noticeForm" action="javascript:void(0);">
	                	<input type="hidden" name="pageName" value="trpNotice-list"/>
	                	<input type="hidden" name="formName" value="searchForm"/>
	                	<input type="hidden" name="orderBy" value="trpNotice.create_time desc"/>
	                	<input type="hidden" name="trpNotice.w_sendCode" value="${r'${loginUser.userEname}'}"/>
	                </form>
              	</div>
              	<div class="box-body">
              		<table  class="table  table-hover" >
		                <tbody id="noticeList">
		                	暂无相关消息
		                </tbody>
		             </table>
              	</div>
			</div>
		</div>
	<!-- 我的消息 end-->

	<!-- 提示图标信息 start-->
	<div class="col-lg-12">
		<div class="box box-solid">
			<div class="box-body">
					<div class="col-lg-3 text-center pt10 pb10">
						<i class="fa fa-user f40 fx2"></i>
			    		<h4 class="gray pt20 pb20">业务功能1</h4>
						<h5 class="fx8">功能概述，操作指引</h5>
					</div>
					<div class="col-lg-3 text-center pt10 pb10">
						<i class="fa fa-search f40 fx2"></i>
			    		<h4 class="gray pt20 pb20">业务功能2</h4>
						<h5 class="fx8">功能概述，操作指引</h5>
					</div>
					<div class="col-lg-3 text-center pt10 pb10">
						<i class="fa fa-commenting f40 fx2"></i>
			    		<h4 class="gray pt20 pb20">业务功能3</h4>
						<h5 class="fx8">功能概述，操作指引</h5>
					</div>
					<div class="col-lg-3 text-center pt10 pb10">
						<i class="fa fa-dollar  f40 fx2"></i>
			    		<h4 class="gray pt20 pb20">业务功能4</h4>
						<h5 class="fx8">功能概述，操作指引</h5>
					</div>
			  </div>
		  </div>
   	</div>
   <!-- 提示图标信息 end-->

		</div>
      </div>
    </div>
    <!-- Main end -->


  </div>
  <!-- /.content-wrapper -->
  <!-- foot start -->
  <%@include file="/common/${sysEname}/foot-user.jsp" %><!-- 每个模块页面都有foot.jsp 在里面增加方法，添加选中-->
  <!-- foot start -->

</body>

</html>




